package com.example.springboot.entity;

import java.util.Map;

/**
 * Created by tang on 2017/11/24.
 */
public class AjaxJson {

    private boolean success; //状态
    private String message; //信息

    private Object object = null;// 其他对象信息
    private Map<String, Object> attributes;// 其他参数
    private String otherInfo = ""; //其他信息

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public Map<String, Object> getAttributes() {
        return attributes;
    }

    public void setAttributes(Map<String, Object> attributes) {
        this.attributes = attributes;
    }

    public String getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(String otherInfo) {
        this.otherInfo = otherInfo;
    }
}
